import request from '@/utils/request';

// 登录
export async function login(params = {}) {
  return request('/api/user/login', {
    method: 'POST',
    data: params,
  });
}
export async function changePwd(data = {}) {
  return request('/api/user/changePwd', {
    method: 'POST',
    data
  });
}